
namespace JTZY.Model.Stock.Dto
{
    /// <summary>
    /// 库存明细查询对象
    /// </summary>
    public class ProdStockQueryDto : PagerInfo 
    {
        public long UserId { get; set; }
        public int Type { get; set; }
    }

    /// <summary>
    /// 库存明细输入输出对象
    /// </summary>
    public class ProdStockDto
    {
        [Required(ErrorMessage = "Id不能为空")]
        [ExcelColumn(Name = "Id")]
        [ExcelColumnName("Id")]
        public long Id { get; set; }

        [ExcelColumn(Name = "商品ID")]
        [ExcelColumnName("商品ID")]
        public int? ProductId { get; set; }

        [ExcelColumn(Name = "一物一码")]
        [ExcelColumnName("一物一码")]
        public string SnCode { get; set; }

        [ExcelColumn(Name = "所属用户ID")]
        [ExcelColumnName("所属用户ID")]
        public int? UserId { get; set; }

        [ExcelColumn(Name = "3售后仓库、0良品仓、1客户仓 2小仓")]
        [ExcelColumnName("3售后仓库、0良品仓、1客户仓 2小仓")]
        public string StockType { get; set; }

        [ExcelColumn(Name = "库存位置用户ID")]
        [ExcelColumnName("库存位置用户ID")]
        public int? WarehouseUserId { get; set; }



        [ExcelColumn(Name = "3售后仓库、0良品仓、1客户仓 2小仓")]
        public string StockTypeLabel { get; set; }
    }
}